#pragma once
#include "wnddialogusr.h"
#include "../../RenderTech/RenderHeightMap.h"

class CWNDDialogLoadXYZ :
	public CWNDDialogUsr
{
public:
	CWNDDialogLoadXYZ(void);
	virtual ~CWNDDialogLoadXYZ(void);

	BOOL ShowDialog(LPCTSTR lpTemplate);
	BOOL Create(LPCTSTR lpTemplate);
	static BOOL CALLBACK DlgProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
	inline void SetCurRenderHMTech(CRenderHeightMap* pTech) {m_pHMTech=pTech;}
	
protected:
	unsigned int m_iXYZWidth;
	unsigned int m_iXYZHeight;
	bool m_bFileSelected;	
	CRenderHeightMap* m_pHMTech;
};



